package zhtt.demo01;

import java.util.Date;

/**
 * Created by mengxiaxia on 2017/4/25.
 */
public class Blog {

    private Integer id;

    private String title;

    private Date createTime;

    private String des;

    public Blog() {
    }

    public Blog(String des, String title) {
        this.des = des;
        this.title = title;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    @Override
    public String toString() {
        return "Blog{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", createTime=" + createTime +
                ", des='" + des + '\'' +
                '}';
    }
}
